// @名称： hack.less
// @作者： 耗子
// @功能： 网站全站样式配置
@dongchegImgDir:'/event/dongcheng/images';
.clearfix{.f-clearfix;}
.centerbox{.f-centerBox(@maxWidth);}
html .hide{visibility:hidden;position:absolute;}
html .show{visibility:visible}

//页脚始终居于底部的布局
//* <div class=".i-container">
//*	   <div class="i-containerfix"></div>
//* </div>
//* <div class="hll-footer"></div>
html,body{height:100%;_background:url(about:blank);}
.i-container{.f-minHeight(100%);margin-bottom:-265px;}//等于footer的高度
.i-containerfix{clear:both;height:335px-70;}//等于footer的高度+距底部的高度70px
.hll-footer {height:265px;}

//商户中心开始
.hll-content{overflow: hidden;position:relative;}
//商户中心头
.group-hd {width:100%}

//集团导航
.group-nav{width:100%;
	//水平导航
	.horizontal{.f-centerBox;font-size:0;
		li{font-size:@baseFontSize;display:inline;
			a{display:inline-block;padding:8px 15px;font-weight:700;}
		}
	}
	//垂直导航
	.vertical{

	}
}
//集团正文
.group-bd{*zoom:1;padding:390px 0 70px;background:#FF9A00 url('@{dongchegImgDir}/bg_main.jpg?v=@{version}') no-repeat 50% 0;}
//双飞翼布局
.hll-layout{overflow: hidden;.f-wordBreak;.f-centerBox();background:#FFFF95;padding-bottom:40px;.f-minHeight(500px);
	.col-main{float:left;}
	.col-sub{float:left}
	.col-extra{background:#cc0;float:left}

}
.grid-c2-m18s6 {//主侧栏在右
	.col-main{width:100%;}
	.col-sub{width:@gridWidth*6;margin-left:-(@gridWidth*6)}
	.col-extra{display:none;}
	.main-wrap{margin:0 @gridWidth*6+15px 0 0}
}
.grid-c2-s6m18 {//主侧栏在左
	.col-main{width:100%;}
	.col-sub{width:@gridWidth*6;margin-left:-100%}
	.col-extra{display: none}
	.main-wrap{margin:0 0 0 @gridWidth*6+15px}
}
.grid-c1-m24 {//单栏	
	.col-main{width:100%;}
	.col-sub{display: none;}
	.col-extra{display: none}
}
//商户中心页脚
.hll-content .group-ft{.f-centerBox;}

//widget预设
.wh,.wb,.wt{*zoom:1;}

//翻页
.pagination(){font-weight:700;padding:16px 0 5px;text-align:right;
	a{color:@blue;border:1px solid #ccddff;background:#ebf2ff;padding:2px 6px;margin-left:6px;text-decoration:none;}
	a:hover{border:1px solid #84abff;background:#ddeeff;}
	.current{border:1px solid #fff;background:#fff;padding:2px 6px;}
	.next,.pagination .prev{border:1px solid #fff;background:#fff;font-size:14px;color:#2a7ca2;padding-right:0;}
	a:hover.next,.pagination a:hover.prev{text-decoration:underline;border:1px solid #fff;background:#fff;}
}

//正文页
.main-wrap{
	.article{
		h3{
			border-left:4px solid #ccc;padding-left:10px;font-size:15px;
			display:inline-block;*display:inline;*zoom:1;line-height:12px;
			margin-bottom:10px;
		}
		p{
			margin-bottom:5px;
		}
	}
}

.i-shop_list{overflow: hidden;
	ul{font-size:0;padding-left:15px;margin-right:-30px;}
	li{border:1px solid #FFFF95;padding:1px;_border-color:#623418;position:relative;.f-inlineBlock();background:#fff;margin:18px 17px 0 0;
		&:hover{border:1px solid #623418;}
	}
	.img{
		 img{width:294px;height:181px;}
	 }
	.summary{position: absolute;overflow:hidden;bottom:0;width:294px;height:42px;.f-backgroundOpacity(0,0,0,0.5,'000000','7f');font-size:@baseFontSize;

		h3 {line-height:42px;
			a{color:#fff;font-size:14px;margin-left:10px;}
		}
		.btn{position: absolute;right:10px;top:10px;color:#CC3400;font-weight:700;width:78px;height:25px;line-height:24px;text-indent:8px;text-decoration:none;
			background:url('@{dongchegImgDir}/icon.png?v=@{version}') no-repeat;
		&:hover{background-position:0 -40px;}
		}
	}
}